<%--
  Created by IntelliJ IDEA.
  User: ThinkPad
  Date: 2021/12/25
  Time: 1:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false"%>
<html>
<head>
    <title>后台-商品添加页面</title>
</head>
<body>
<%@include file="headForRoot.jsp"%>
<h2 style="text-align: center;color: aquamarine">商品添加</h2>
<br /><br />
<form name="register" action="${pageContext.request.contextPath}/appendMessage.jsp" method="post">
    <table style="width: 50%;margin-left: 25%">
        <tr>
            <td style="width: 250px"><div style="text-align: right">请输入产品名称：</div></td>
            <td><label>
                <input type="text" name="pname" required>
            </label></td>
        </tr>
        <tr>
            <td style="width: 250px"><div style="text-align: right">请输入产品描述：</div></td>
            <td><label>
                <input type="text" name="desc">
            </label></td>
        </tr>
        <tr>
            <td style="width: 250px"><div style="text-align: right">请输入产品库存：</div></td>
            <td><label>
                <input type="number" max="1000" min="0" name="quantity" required>
            </label></td>
        </tr>
        <tr>
            <td style="width: 250px"><div style="text-align: right">请输入产品价格：</div></td>
            <td><label>
                <input type="text" name="price" required>
            </label></td>
        </tr>
    </table>
    <br />
    <input type="submit" value="提交" style="margin-left: 48%" >
</form>
<br /><br /><br /><br /><br /><br />
<%@include file="tail.jsp"%>
</body>
</html>
